package cn.xmoit.flowable.service;

import cn.xmoit.flowable.mapper.RoleMapper;
import cn.xmoit.flowable.model.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fangyy
 */
@Service
public class RoleService {

	@Autowired
	RoleMapper roleMapper;

	public List<Role> getAllRoles() {
		return roleMapper.getAllRoles();
	}

}
